<!DOCTYPE html>
<taglib name="html" />
<html ng-app="App">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>{$Think.lang.web_name}-{$Think.lang.front_title}</title>
    <!-- UIKIT -->
    <load href="__PUBLIC__/{:UIKIT}/css/uikit.almost-flat.min.css" />
	 <load href="__PUBLIC__/Home/css/inner.css" />
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <load href="__PUBLIC__/Common/js/jquery-1.11.2.min.js"/>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <load href="__PUBLIC__/{:UIKIT}/js/uikit.min.js"/> 
	<load href="__PUBLIC__/Common/dist/jquery.validate.min.js"/> 	
	<load href="__PUBLIC__/Common/dist/define_methods.js"/>

<style>
form select{
width:100%;
}
label.error{
color:#D85030;
}
</style>
	
<script language="JavaScript">

function logout(){
UIkit.modal.confirm("Are you sure?", function(){
    location.href="__MODULE__/Public/logout";
})
}

$(function(){
//验证FORM
$("#validate_form").validate();	

})
//确认删除	
function confirmDelete(url,notice){
	  if(notice===undefined)notice="{$Think.lang.confirm_delete}";
	   UIkit.modal.confirm(notice, function(){
		location.href=url;
		});
}

</script>	
	</head>
	<body>

<nav class="tm-navbar uk-navbar">
   <a href="#offcanvas" class="uk-navbar-toggle uk-visible-small" data-uk-offcanvas>
</a>
   	<img  class="uk-navbar-brand uk-hidden-small" src="__PUBLIC__/Common/img/logo_mini.png" style="height:40px;"/>
	 <div class="uk-navbar-content">
	 <i class="uk-icon-user"></i>&nbsp;{$Think.lang.welcome}，{$merchant_info.mh_name}
	 </div>
 
	<div class="uk-navbar-flip">
    <ul class="uk-navbar-nav">		 
			 <li><a href="javascript:void(0)" onclick="logout()">
			<i class="uk-icon-power-off"></i>&nbsp;{$Think.lang.logout}</a></li>

	</ul>
   </div>

</nav>
<br>

<div id="offcanvas" class="uk-offcanvas">
<div class="uk-offcanvas-bar">
<ul class="uk-nav uk-nav-offcanvas uk-nav-parent-icon " data-uk-nav> 
<include file="Public:merchant_navlist"/>
</ul>
</div>
</div>

<div class="uk-grid">
<div class="uk-width-medium-1-5 uk-width-small-1-1">
<div class="s-bg uk-hidden-small">
<ul class="uk-nav uk-nav-offcanvas uk-nav-parent-icon " data-uk-nav> 
<include file="Public:merchant_navlist"/>
 </ul>
</div>


<div class="uk-alert uk-alert-danger ">{$Think.lang.mh_id}：{$merchant_info.mh_id}</div>

<div class="uk-alert uk-alert-danger">{$Think.lang.balance}：{$merchant_info.mh_balance}&nbsp;{$web_config.web_currency}</div>

<p>			
				&nbsp;&nbsp;	{$Think.lang.choose_lan}：
					<a href="?l=en-us">English <eq name="LANG_SET" value="en-us"><i class="uk-icon-check"></i></eq></a>&nbsp;|&nbsp;
					<a href="?l=zh-cn">中文<eq name="LANG_SET" value="zh-cn"><i class="uk-icon-check"></i></eq></a>
					</p>
					<br>
</div>
<div class="uk-width-medium-4-5 uk-width-small-1-1">
<div class="uk-panel uk-panel-box uk-panel-box-secondary uk-panel-header" >
<h3 class="uk-panel-title">{$main_title|default="Dashboard"}</h3>
    {__CONTENT__}
	<div style="height:25px;">
	</div>
</div>

</div>
	
	</body>
	</html>